package com.huilian.iotbox.data.dto;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 谢洛涛
 * @date 2021/9/7 17:35
 */
@Data
public class DeviceBuyOrderDto extends QueryParam {
    private Integer id;

    private Integer userId;
    /** 订单号*/
    private String outTradeNo;
    /**支付渠道 01支付宝  02微信*/
    private String channelType;
    /**收货类型  1快递寄送  2上门自提*/
    private Integer deliveryType;

    private Integer productId;
    /**模块名称*/
    private String mainBoardName;
    /**设备版本名称*/
    private String deviceVersionsName;
    /**设备通信名称*/
    private String deviceCommunicationName;
    /**设备销售价*/
    private BigDecimal price;
    /**购买数量*/
    private Integer buyCount;
    /**总金额*/
    private BigDecimal totalAmount;
    /**支付状态 0待付款  1已付款，待确认   2成功   3.失败(信息有误)*/
    private Integer status;
    private String failReason;

    /**收款银行名称*/
    private String payeeBankName;
    /**收款人名称*/
    private String payeeCertName;
    /**收款卡号*/
    private String payeeCardNo;
    /**付款银行名称*/
    private String paymentBankName;
    /**付款人名称*/
    private String paymentCertName;
    /**付款卡号*/
    private String paymentCardNo;
    /**充值码*/
    private String voucherCode;

    private String merchantOrderNo;
    private String orderNo;
    /**收件人信息*/
    private String addresseeName;
    private String addresseeMobile;
    private String addresseeProvince;
    private String addresseeCity;
    private String addresseeDistrict;
    private String addresseeAddress;

    private String expressName;

    private String expressNo;

    /**设备单价Id*/
    private Integer devicePriceId;

    private Integer payeeUserId;

    private Integer agencyId;
    private Integer devicePayeeAccountType;
}
